package com.lanou3g.hw0412;

/**
 * If there are no bugs, it was created by Chen FengYao on 2018/4/12;
 * Otherwise, I don't know who created it either
 */

public class Test {
    public static void main(String[] args) {
        User user1 = new User();
        user1.setUsername("AAA");
        user1.setPwd("BBB");

        User user2 = new User();
        user2.setUsername(user1.getUsername());
        user2.setPwd(user1.getPwd());
        user2.setUsername("CCC");



    }


}
